package com.school.repair.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class Equipment implements Serializable {

    private long id; //编号
    private String barcode;//设备二维码图片地址
    private Date createdate;//创建时间
    private String eno; //设备编码
    private String name;//设备名称
    private int status; //状态
    private long xiumanid; //默认维护人
    private int equipmenttypeid; //设备类型编号
    private long unitid; //属于单位号
    private String pos; //设备位置

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getXiumanid() {
        return xiumanid;
    }

    public void setXiumanid(long xiumanid) {
        this.xiumanid = xiumanid;
    }

    public int getEquipmenttypeid() {
        return equipmenttypeid;
    }

    public void setEquipmenttypeid(int equipmenttypeid) {
        this.equipmenttypeid = equipmenttypeid;
    }

    public long getUnitid() {
        return unitid;
    }

    public void setUnitid(long unitid) {
        this.unitid = unitid;
    }

    public String getPos() {
        return pos;
    }

    public void setPos(String pos) {
        this.pos = pos;
    }
}
